package com.tank.dao;

import java.util.List;

import com.tank.bean.User;


public interface UserDAO {
	public Integer save(User Integer);
	public boolean update(User user);
	public boolean	 delete(User user);
	
	
	public User findUserById(Integer id);
	public List<User> findUserByName(String name);
	public List<User> findUserList();
	public void addFollow(User me, User user);
	public void removeFollow(User me, User user);
	public List<User> findUsersByNames(String names);
	public List<User> findUserByNameOrMail(User user);
	public void merge(User user);
	public void valildMail(User user);
	public void randomPass(User user);
}
